const mongoose = require("mongoose");
const connect = mongoose.connect("mongodb://49.232.50.87/admin");
mongoose.connection.once("open", function () {
    console.info("连接成功")
})

mongoose.connection.once("close", function () {
console.info("连接断开")
})

mongoose.disconnect().then(r => {
    console.info("连接断开2")
});
console.info("============")
